2020-2021 Sunseeker Telemetry and Lighting System
timer_b_ex2_overflowISR.c File Reference
#include "driverlib.h"

Go to the source code of this file.

Functions

void main (void)
 
void TIMERB1_ISR (void)
 

Function Documentation

◆ main()

void main ( void  )

Timer_B, Toggle P1.0, Overflow ISR, 32kHz ACLK

Description: Toggle P1.0 using software and the Timer_B overflow ISR. In this example an ISR triggers when TB overflows. Inside the ISR P1.0 is toggled. Toggle rate is exactly 0.25Hz = [32kHz/FFFFh]/2. Proper use of the TBIV interrupt vector generator is demonstrated. ACLK = TBCLK = 32kHz, MCLK = SMCLK = default DCO ~ 1.045MHz

Tested On: MSP430F5529

/ |
RST

| | | P1.0|-->LED

Definition at line 51 of file timer_b_ex2_overflowISR.c.

References __no_operation(), and param.

◆ TIMERB1_ISR()

void TIMERB1_ISR ( void  )

Definition at line 86 of file timer_b_ex2_overflowISR.c.